﻿using System; 
using System.Collections.Generic;
using System.ComponentModel;
using NTTDATA.BEENChina.ResultCertification.Config; 

namespace NTTDATA.BEENChina.ResultCertification.Checker.Text
{
    [Serializable]
    [VerfityAttribute(Id = "VerfityTX0201", Name = "记载率_未(有)记载", CategoryType = EnumCategoryType.文字列 , Model = true)]
    public class VerfityTx0201:VerfityOneResult
    {


        /// <summary>
        /// 是否包含指定付签
        /// </summary>
        private bool _entryResultEmpty = true;

        /// <summary>
        /// 
        /// </summary>
        [Category("未(有)记载"), Description("true:录入结果为空，false:录入结果不为空")]
        public bool EntryResultEmpty
        {
            get { return _entryResultEmpty; }
            set { _entryResultEmpty = value; }
        }

        public override bool CheckResult(List<List<string>> result, string entryCommon)
        {

            var bresult = CheckEmpty(result, entryCommon, _entryResultEmpty);
            if (bresult)
            {
                System.Console.WriteLine("VerfityTX0201");
            }

            return bresult;
        }

 
    }
}